package com.learn.designPatterns.behavioral.chainOfResponsibility;

/**
 * @classname:
 * @Description:
 * @author: yfpu
 * @Date: 2018-09-12 19:13
 */
public abstract class Handler {

    protected Handler successor;

    public Handler(Handler successor) {
        this.successor = successor;
    }

    protected abstract void handleRequest(Request request);
}
